package com.sh.service;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

import com.sh.entity.MonthBalanceRPT;
import com.sh.entity.ReceivePayRPT;
import com.sh.entity.User;

/**
 * 报表 service
 * */
public interface RptService {
	//测试 所有的方法
	void testFunc(Map<String, Object> conMap);

	//查询 应收报表
	List<ReceivePayRPT> listReceiveRPT(Map<String, Object> conMap, User user, String sysTime) throws ParseException;
	//查询 应付报表
	List<ReceivePayRPT> listPayRPT(Map<String, Object> conMap, User user, String sysTime)throws ParseException;

	//查询 月度余额报表
	List<MonthBalanceRPT> listMonthlyBalanceRPT(Map<String, Object> conMap, User user, String sysTime);
	//计算  上个月 月份余额
	String calculateBalance(User user, String sysTime) throws Exception;
	//计算 自定义时间跨度月份余额
	String calculateCustomBalance(String startMonth, String endMonth, User user, String sysTime) throws Exception;
	//结转
	String carryForward(String carryYear, User user, String sysTime);
	//判断当前年份是不是已经结转
	String checkDataCarry(List<String> yearList);



}
